<template>
    <div>
        <div>
        <van-nav-bar  class="db" title="游戏商城" @click-left="onClickLeft" fixed placeholder left-arrow>
        <template #right>
        <van-icon name="search" size="18" />
        </template>
        </van-nav-bar>
        </div>
    </div>
</template>
<style scoped>
/deep/ .van-nav-bar{
    background-color: #171a21;
    
}
/deep/ .van-nav-bar__title{
    color:white ;
}
</style>
<script>
export default {
 name:'NavBar',
        methods:{
        onClickLeft(){
            this.$router.back(-1)
        }
    }
}
</script>